Skip to main content

Interface: AsyncQueueOptions

Properties

delayInMS

Optional delayInMS: number

How many mini-second to delay to run the next job


dropLast

Optional dropLast: boolean

Drop the last one in the queue or the first one


size

Optional size: number

Max size of the queue, when it reaches this size, dropping mechanism starts. Drop the first/last one when overflow


throttleInMS

Optional throttleInMS: number

Throttle in mini-second